<!DOCTYPE html>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
    
<html>
	<head>
		<meta charset="utf-8">
		<title>没有登陆</title>
		<script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/jquery-1.9.0.min.js"></script>
		<script type="text/javascript">
			/* setTimeout(function(){
				if(window.top==window){
					location="${pageContext.request.contextPath}/main/login.htm";
				}else{
					
				}
			},5000); */
			setInterval(function(){
				var time=$("#time").text()-1;
				$("#time").text(time);
				if(time<1){
					location="${pageContext.request.contextPath}/main/login.htm";
				}
			},1000)
		</script>
	</head> 
	<body>
		<h2> 对不起，你没有登录，或已超时，点击<a href="${pageContext.request.contextPath}/main/login.htm">登录</a> 或 <span id="time">5</span>秒后自动跳转</h2>
	</body>
</html>
